import { BrowserRouter as Router, Route, Routes } from "react-router-dom"
import Login from "./pages/Login"
import Layout from "./pages/Layout"
import Patients from "./pages/Patients"
function App() {
  return (
    <Router>
      <Routes>
        <Route path="/" element={<Login />} />
        <Route path="/home" element={<Layout />} >
          <Route path="patients" element={<Patients />}></Route>
        </Route>
      </Routes>
    </Router>
  )
}

export default App
